package spring.boot.shiro.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import spring.boot.shiro.entity.User;

/**
 * Created by Administrator on 2018/6/10.
 */
public interface UserRep extends JpaRepository<User,Integer> {
    User findByName(String userName);

}
